package com.wbpay.sdk.http;

import java.util.Map;

/**
 * Created by ck01- on 2017/6/19.
 */

public interface IHttp {

    public void get(String url, Map<String, String> params,
                    Map<String, String> headers, final HttpCallback callback);

    public void post(String url, Map<String, String> params,
                     Map<String, String> headers, final HttpCallback callback);

    public void post(String url, String body, String contentType,
                     Map<String, String> headers, final HttpCallback callback);
}
